package cn.gson.oasys.mapper;

import cn.gson.oasys.pojo.AoaTaskList;

import java.util.List;

/*
 Created by 刘雯欣 on 2020/11/30.
 */
public interface AoaTaskListMapper {
    //1：进入页面先查询显示全部 by 刘雯欣 on 2020/11/30.
    List<AoaTaskList> findAllAoaTaskList();

    //2:完成显示全部后再进行标题模糊查询 by 刘雯欣 on 2020/11/30.
    List<AoaTaskList> likefindAllAoaTaskList(String title);

    //3：新增任务  by 刘雯欣 on 2020/11/30.
    int insertSelective(AoaTaskList record);

    //4:删除任务 by 刘雯欣 on 2020/12/1.
    int deleteByPrimaryKey(Long taskId);

    //5：修改任务 by 刘雯欣 on 2020/12/1.
    int updateByPrimaryKeySelective(AoaTaskList record);



    int insert(AoaTaskList record);

    AoaTaskList selectByPrimaryKey(Long taskId);

    int updateByPrimaryKey(AoaTaskList record);
}